package com.gexiaobao.pigeon.app.model.bean

import java.io.Serializable

/**
 * @Author      : hxw
 * @Date        : 2023/3/3 14:45
 * @Describe    :
 */
class OrgDeviceInfoResponse(

    var totals: Int = 0,
    var list: ArrayList<ListBean> = ArrayList()

) : Serializable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()

    class ListBean(
        var shedNo: String = "",
        var EntryName: String = "",
        var memberId: String = "",
        var info: ArrayList<InfoBean> = ArrayList()

    ) : Serializable {

        /**
         * 数据是否为空
         */
        fun isEmpty() = info == null || (info as List<*>).isEmpty()

        class InfoBean(

            var imsi: String = "",
            var contactStatus: Int = 0,
            var currentState: Int = 0,
            var status: Int = 0,
            var gpsStatus: Int = 0,
            var ownerType: Int = 0,
            var id: Int = 0,
            var boardStatus: ArrayList<Int> = ArrayList(),

            ) : Serializable
    }
}